libxc: Check xc_maximum_ram_page for negative return values.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 19 Mar 2015 00:24:15 +0000 (20:24 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 20 Mar 2015 16:07:35 +0000 (16:07 +0000)
commit1781f00ea62edb72bed4fe1b6959eeed427e988f
treef987ed81d3bf85fb9d794bf1b411e32ad59bca9a
parenta8f8a590e02d2d2b717257c0bd9a8b396103bdf4
libxc: Check xc_maximum_ram_page for negative return values.

Instead of assuming everything is always OK. As such
we return now the return value (or zero for success).
The max_mfn is now passed in as the parameter.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_offline_page.c
tools/libxc/xc_private.c
tools/libxc/xg_save_restore.h
tools/misc/xen-mfndump.c